import java.util.Random;
import java.util.Scanner;


public class practice1 {
   public static void main(String[] args) {
       int a = 10;
       int b = 20;
       int max = a > b ? a : b;
       System.out.printf(String.valueOf(max));
    }
    public static void main12(String[] args) {
        String a = "haha";
        String b = "yaya";
        String c = a + b;
        System.out.println(c);
    }

    public static void main11(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int n = scanner.nextInt();
        int fac = 1;
        for (int i = 1; i <= n; i++) {
            fac *= i;
        }
        System.out.println(fac);
    }

    public static int fac() {
        Scanner scanner = new Scanner(System.in);
        int n = scanner.nextInt();
        int sum = 0;
        for(int j = 1; j <=n; j++) {
            int fac = 1;
            for (int i = 1; i <= j; i++) {
                fac *= i;
            }
            sum += fac;
        }
        return sum;
    }

    public static void main10(String[] args) {
        int ret = fac();
        System.out.println(ret);
    }

    public static int gcd(int a, int b) {
        int c = a % b;
        while(c != 0) {
            a = b;
            b = c;
            c = a % b;
        }
        return b;
    }

    public static void main9(String[] args) {
        System.out.println(gcd(20, 35));
    }

    public static void function() {
        double sum = 0;
        int flg = 1;
        for (int i = 1; i < 101; i++) {
            sum += 1.0 / i * flg;
            flg = -flg;
        }
        System.out.println(sum);
    }
    public static void main8(String[] args) {
        function();
    }



    public static void main7(String[] args) {
        for (int i = 0; i <1000; i++) {
            int bai = i / 100;
            int shi = (i / 10) % 10;
            int ge = i % 10;
            if(i ==  bai*bai*bai + shi*shi*shi + ge*ge*ge) {
                System.out.println("水仙花数："+i);
            }
        }
    }

    public static void main6(String[] args) {
        Random random = new Random();
        Scanner sc = new Scanner(System.in);
        int randNum = random.nextInt(100);
        while(true) {
            System.out.println("请输入你要猜的数字");
            int num = sc.nextInt();
            if(num < randNum) {
                System.out.println("小了");
            }else if (num == randNum) {
                System.out.println("猜对了");
                break;
            }else {
                System.out.println("大了");
            }
        }
    }

    public static void main5(String[] args) {
        Scanner sc = new Scanner(System.in);
        int age = sc.nextInt();
        if (age < 18) {
            System.out.println("少年");
        } else if (19 <= age && age <= 28) {
            System.out.println("青年");
        } else if (29 <= age && age <= 55) {
            System.out.println("中年");
        } else {
            System.out.println("老年");
        }

    }

    public static void main4(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int n = scanner.nextInt();
        int i = 2;
        for (; i <= Math.sqrt(n); i++) {
            if (n % i == 0) {
                System.out.println("是素数");
                break;
            }
        }
        if (i > Math.sqrt(n)) {
            System.out.println("不是素数");
        }
    }

    public static void main3(String[] args) {
        int j =2;
        int i = 2;
        for(; i <= 100; i++) {
        for(; j <= Math.sqrt(i); j++) {
            if(i % j == 0 ) {
                break;
            }
            }
            if(j > Math.sqrt(i) ) {
                System.out.println("素数是："+i);
        }
        }
    }

    public static void main2(String[] args) {
        for(int i = 1000; i <= 2000; i++) {
            if(i % 4 == 0 && i % 100 != 0) {
                System.out.println( "普通闰年："+i );
            }
            if(i % 100 == 0 && i % 400 == 0) {
                System.out.println("世纪闰年："+i);
            }
        }
    }

    public static void main1(String[] args) {
        int num = 0;
        for (int i = 1; i <= 100; i++) {
            if(i % 10 == 9) {
                num++;
            }
            if(i/10 == 9) {
                num++;
            }
        }
        System.out.println(num);
    }
}




